package tests.tickets;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.Assert;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import pages.HomePage;
import pages.TicketsPage;
import tests.BaseTest;
import tests.CommonTestSteps;
import utils.Log4Test;

import java.util.List;

/**
 * Created by c242 on 02.07.2014.
 */
public class BuyTickets extends CommonTestSteps {
    @DataProvider(name = "tickets")
    public static Object[][] createData() {
        return new Object[][]{
                { 1, 1, 3 }
        };
    }

    @Test(dataProvider = "tickets")
    public void buyInfantTickets(int adults, int children, int infants) {
        buyTickets(adults, children, infants);
    }
}
